#include<iostream>
using namespace std;

class Time
{
public:
	Time(int  hour = 0)
		:_hour(hour)
	{
		cout << "Time()" << endl;
	}

private:
	int _hour;

};
class Data
{
public:
	Data(int year, int month, int day)
		:_year(year)
		, _month(month)
		, _day(day)
		, _n(1)
	{

	}

	void print()
	{
		cout << _year << "-" << _month << "-" << _day << endl;
	}
private:
	int _year;
	int _month;
	int _day;
	const int _n;
	Time _t;
};
int main()
{
	Data d1(2001, 9, 11);
	d1.print();


	Time a;
	return 0;
}